import router from "../../router/index.js";

const studentPageJumper = {
    jumpToClassTask: ()=>{
        router.replace({path: '/studentmain/classtask'})
    },
    jumpToOnlineTask:()=>{
        router.replace({path:'/studentmain/onlinetask'})
    },
    jumpToClassCorrect: () => {
        router.replace({ path: '/studentmain/classcorrect' });
    },
    jumpToOnlineCorrect: () => {
        router.replace({ path: '/studentmain/onlinecorrect' });
    },
    jumpToStudentAnalysis: () => {
        router.replace({ path: '/studentmain/studentanalysis' });
    },
    jumpToListeningExercise: () => {
        router.replace({ path: '/studentmain/listeningexercise' });
    },
    jumpToOralPractice: () => {
        router.replace({ path: '/studentmain/oralpractice' });
    },
    jumpToUserCenter: () => {
        router.replace({ path: '/studentmain/usercenter' });
    }
}

export default studentPageJumper